import SvgIcon from '@/components/SvgIcon.vue';
import registerDirectives from '@/directives';
import { createPinia } from 'pinia';
import 'virtual:svg-icons-register';
import { createApp } from 'vue';
import App from './App.vue';
import router from './router/index';
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App);
// 注册全局指令
registerDirectives(app);

app.component('SvgIcon', SvgIcon);
app.use(ElementPlus)

app.use(router).use(createPinia()).mount('#app');
